package com.neuedu.web.controller;

import com.neuedu.web.common.BaseMethodController;
import com.neuedu.web.service.LoginService;
import com.neuedu.web.utils.JSONUtils;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.Map;

/**
 * @author 金山
 * 项目：javaweb
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2024/11/158:59
 */
@WebServlet("/login/login")
public class LoginController extends BaseMethodController {
    LoginService loginService = new LoginService();


    private boolean login(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, NoSuchFieldException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException {

        return loginService.login(request, response);
    }


}